<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
		p:empty {
			height: 30px;
			background: #0cc;
		}
	</style>
</head>
<body>
	<p><!--空标签--></p>
	<p>这是段落</p>
	<p>
		<span></span>
	</p>
</body>
</html>